package com.cvit.cn.dao;

import com.cvit.cn.bean.Acceptance;
import com.cvit.cn.bean.AcceptanceExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface AcceptanceMapper {
    long countByExample(AcceptanceExample example);

    int deleteByExample(AcceptanceExample example);

    int deleteByPrimaryKey(String acceptanceId);

    int insert(Acceptance record);

    int insertSelective(Acceptance record);

    List<Acceptance> selectByExample(AcceptanceExample example);

    Acceptance selectByPrimaryKey(String acceptanceId);

    int updateByExampleSelective(@Param("record") Acceptance record, @Param("example") AcceptanceExample example);

    int updateByExample(@Param("record") Acceptance record, @Param("example") AcceptanceExample example);

    int updateByPrimaryKeySelective(Acceptance record);

    int updateByPrimaryKey(Acceptance record);
	
	//关联查询数据
	List<Map<String, Object>> selectAcceptanceDatas();

	//假删除
	int delAcceptanceFalse(String[] ids);

	//按供应商id查询关联表
	List<Map<String, Object>> selectAcceptanceById(String id);
	
}